package com.consumersave.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

/**
 * 远程调用提供者的仓库管理相关请求
 */
@Component
//name = "提供者名字"(实现远程调用),fallbackFactory = fallbackFactory类.class(实现熔断处理)
@FeignClient(name = "provider7077-save",fallbackFactory = WarehouseFallBackFactory.class)
public interface WarehouseFeign {

}
